home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.1 (Developer) [x86]
/
NeXT Step 3.1 Intel dev.cdr.dmg
/
NextDeveloper
/
Examples
/
AppKit
/
CalculatorLab
/
SimpleCalc_main.m
< prev
next >
Wrap
Text File
|
1992-05-11
|
526b
|
21 lines
/* Generated by the NeXT Project Builder
NOTE: Do NOT change this file -- Project Builder maintains it.
*/
#import <stdlib.h>
#import <sys/param.h>
#import <objc/NXBundle.h>
#import <appkit/Application.h>
void main(int argc, char *argv[]) {
char path[MAXPATHLEN+1];
NXApp = [Application new];
if ([[NXBundle mainBundle] getPath:path forResource:"SimpleCalc" ofType:"nib"])
if ([NXApp loadNibFile:path owner:NXApp withNames:NO fromZone:[NXApp zone]])
[NXApp run];
[NXApp free];
exit(0);
}